package com.atguigu.eduservice.entity.subject;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author ran
 * @creat
 */
@Data
public class OneSubject {

    private String id;
    private String title;

    //一级分类有多个二级分类
    List<TwoSubject> children = new ArrayList<>();
}
